from django.http import HttpResponse
from django.template.loader import get_template
from django.http import HttpResponseRedirect

def index(request):
    return HttpResponseRedirect('/client/')

def client(request):
    t = get_template('index.html')
    html = t.render()
    return HttpResponse(html)